//
//  HeaderView.m
//  LessonUICollectionView
//
//  Created by lanouhn on 15/5/29.
//  Copyright (c) 2015年 lrving. All rights reserved.
//

#import "HeaderView.h"

@implementation HeaderView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.aLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 20, 100, 40)];
        _aLabel.font = [UIFont systemFontOfSize:14];
        _aLabel.text = @"agaggggg";
        _aLabel.textAlignment = NSTextAlignmentCenter;
//        _aLabel.backgroundColor = [UIColor redColor];
        [self addSubview:_aLabel];
        
    }
    return self;
}
@end
